package com.library.domain;

import lombok.Data;
import lombok.NonNull;

@Data
/*1、构造器
* 2、set和get
* 3、toString
* 4、hashcode和equals
* */
public class ReaderInfo {
    private Integer id;
    @NonNull
    private  String username;
    @NonNull
    private String password;
    private String realName;
    private String sex;
    private String birthday;//出生日期
    private String address;  //籍贯
    private String tel;   //电话
    private String email;
    private String registerDate;   //注册日期
}
